package com.atguigu.gmall.realtime.joindemo;

import com.atguigu.gmall.realtime.app.BaseApp;
import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

/**
 * @Author lzc
 * @Date 2023/2/13 14:12
 */
public class ConsumeLeftJoinWithStream extends BaseApp {
    public static void main(String[] args) {
        new ConsumeLeftJoinWithStream().init(
            6001,
            2,
            "ConsumeLeftJoinWithStream",
            "t_left"
        );
    }
    
    @Override
    protected void handle(StreamExecutionEnvironment env,
                          DataStreamSource<String> stream) {
        stream.print();
    }
}
